import React from "react";
import { WeaLocaleProvider } from "ecCom";

const { getLabel } = WeaLocaleProvider;

export default class ActionGroup extends React.Component {
  render() {
    const { onDel } = this.props;

    return (
      <div className='action-group'>
        <span className='action-drag'>
          <i className="icon-coms-move" />{getLabel('511747', '拖拽布局')}
        </span>
        <span className='action-delete' onClick={onDel}>
          <i className="icon-coms-delete" />{getLabel('511748', '删除布局')}
        </span>
      </div>
    );
  }
}